@echo off
for /f "delims=" %%i in (filePath.txt) do (
    del /q "%%i\*" 
    FOR /D %%p IN ("%%i\*.*") DO rmdir "%%p" /s /q
) 
pause